package reading.service;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import reading.data.mapper.ArticleMapper;
import reading.data.model.Article;

/**
 * ${DESCRIPTION}
 *
 * @author txw
 * @since 2019-02-15 12:42
 **/
@Service
public class ArticleService extends AbstractBaseService<Article> {
    private final ArticleMapper articleMapper;
    @Autowired
    public ArticleService(ArticleMapper articleMapper) {
        this.articleMapper = articleMapper;
        super.setBaseDbMapper(articleMapper);
    }
}
